package com.huangpuweb.api.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class HpSyrkAgeDistributeRowMapper implements RowMapper<HpSyrkAgeDistribute> {
    @Override
    public HpSyrkAgeDistribute mapRow(ResultSet resultSet, int i) throws SQLException {
        HpSyrkAgeDistribute hs=new HpSyrkAgeDistribute();
        hs.setAge_distribute(resultSet.getString("age_distribute"));
        hs.setSz(resultSet.getString("sz"));
        hs.setCjrq(resultSet.getString("cjrq"));
        return hs;
    }
}
